package day0516;

public class Test1 {
    //break:  只能跳出内循环
    public static void main(String[] args) {
        //打印九九乘法表
        for (int i = 1; i <= 9; i++){//表示每一行
            for (int j = 1; j <= i; j++){//j表示本行的第j个表达式
                System.out.print(j + "*" + i + "=" + (j*i) + " ");
                if(j==5)break;
            }
            System.out.println();
        }

    }
}
